package com.example.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Salesperson;
import com.example.mapper.SalespersonMapper;
import com.example.service.SalespersonService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lmy
 * @since 2024-09-07
 */
@Service
public class SalespersonServiceImpl extends ServiceImpl<SalespersonMapper, Salesperson> implements SalespersonService {

    @Override
    public Salesperson findSalespersonById(String salespersonId) {
       return baseMapper.findSalespersonById(salespersonId);
    }
}
